package com.csj.DesignPattern.strategy;

public class Client {
    public static void main(String[] args) {
        SaleMan saleMan = new SaleMan(new StrategyA());
        saleMan.sale();

        saleMan.setStrategy(new StrategyB());
        saleMan.sale();

        saleMan.setStrategy(new StrategyC());
        saleMan.sale();
    }
}
